home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C++ für Kids
/
C++ for kids.iso
/
SETUP
/
US
/
CBUILDER
/
DATA.Z
/
CHARTFX.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-13
|
22KB
|
460 lines
//----------------------------------------------------------------------------
// ChartFX.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: ChartFX.pas
//----------------------------------------------------------------------------
#ifndef ChartFXHPP
#define ChartFXHPP
//----------------------------------------------------------------------------
#include <Menus.hpp>
#include <Controls.hpp>
#include <OleCtrls.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <OleCtl.hpp>
#include <OLE2.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Chartfx
{
//-- type declarations -------------------------------------------------------
typedef void __fastcall (__closure *TChartFXLButtonDblClk)(System::TObject* Sender, short &X, short
&Y, short &nSerie, short &nPoint, short &nRes);
typedef void __fastcall (__closure *TChartFXRButtonDown)(System::TObject* Sender, short &X, short &Y
, short &nSerie, short &nPoint, short &nRes);
typedef void __fastcall (__closure *TChartFXChangeValue)(System::TObject* Sender, double &dValue, short
&nSerie, short &nPoint, short &nRes);
typedef void __fastcall (__closure *TChartFXChangeString)(System::TObject* Sender, short &nType, short
&nIndex, short &nRes);
typedef void __fastcall (__closure *TChartFXChangeColor)(System::TObject* Sender, short &nType, short
&nIndex, short &nRes);
typedef void __fastcall (__closure *TChartFXChangePalette)(System::TObject* Sender, short &nIndex, short
&nRes);
typedef void __fastcall (__closure *TChartFXChangeFont)(System::TObject* Sender, short &nIndex, short
&nRes);
typedef void __fastcall (__closure *TChartFXChangePattern)(System::TObject* Sender, short &nType, short
&nIndex, short &nRes);
typedef void __fastcall (__closure *TChartFXChangePattPal)(System::TObject* Sender, short &nIndex, short
&nRes);
typedef void __fastcall (__closure *TChartFXMenu)(System::TObject* Sender, short &wParam, short &nSerie
, short &nPoint, short &nRes);
typedef void __fastcall (__closure *TChartFXChangeType)(System::TObject* Sender, short &nType, short
&nRes);
typedef void __fastcall (__closure *TChartFXUserScroll)(System::TObject* Sender, int wScrollMsg, int
wScrollParam, short &nRes);
typedef void __fastcall (__closure *TChartFXGetLegend)(System::TObject* Sender, short nType, short &
nRes);
class __declspec(delphiclass) TChartFX;
class __declspec(pascalimplementation) TChartFX : public Olectrls::TOleControl
{
typedef Olectrls::TOleControl inherited;
private:
TChartFXLButtonDblClk FOnLButtonDblClk;
TChartFXRButtonDown FOnRButtonDown;
TChartFXChangeValue FOnChangeValue;
TChartFXChangeString FOnChangeString;
TChartFXChangeColor FOnChangeColor;
Classes::TNotifyEvent FOnDestroy;
Classes::TNotifyEvent FOnReadFile;
TChartFXChangePalette FOnChangePalette;
TChartFXChangeFont FOnChangeFont;
Classes::TNotifyEvent FOnReadTemplate;
TChartFXChangePattern FOnChangePattern;
TChartFXChangePattPal FOnChangePattPal;
TChartFXMenu FOnMenu;
TChartFXChangeType FOnChangeType;
TChartFXUserScroll FOnUserScroll;
TChartFXGetLegend FOnGetLegend;
double __stdcall Get_Value(short index);
void __stdcall Set_Value(short index, double Value);
double __stdcall Get_XValue(short index);
void __stdcall Set_XValue(short index, double Value);
double __stdcall Get_IniValue(short index);
void __stdcall Set_IniValue(short index, double Value);
double __stdcall Get_Const_(short index);
void __stdcall Set_Const_(short index, double Value);
Graphics::TColor __stdcall Get_Color(short index);
void __stdcall Set_Color(short index, Graphics::TColor Value);
Graphics::TColor __stdcall Get_BkColor(short index);
void __stdcall Set_BkColor(short index, Graphics::TColor Value);
double __stdcall Get_Adm(short index);
void __stdcall Set_Adm(short index, double Value);
short __stdcall Get_Pattern(short index);
void __stdcall Set_Pattern(short index, short Value);
int __stdcall Get_Fonts(short index);
void __stdcall Set_Fonts(short index, int Value);
System::AnsiString __stdcall Get_Title(short index);
void __stdcall Set_Title(short index, const System::AnsiString Value);
System::AnsiString __stdcall Get_Legend(short index);
void __stdcall Set_Legend(short index, const System::AnsiString Value);
System::AnsiString __stdcall Get_SerLeg(short index);
void __stdcall Set_SerLeg(short index, const System::AnsiString Value);
System::AnsiString __stdcall Get_KeyLeg(short index);
void __stdcall Set_KeyLeg(short index, const System::AnsiString Value);
System::AnsiString __stdcall Get_FixLeg(short index);
void __stdcall Set_FixLeg(short index, const System::AnsiString Value);
System::AnsiString __stdcall Get_YLeg(short index);
void __stdcall Set_YLeg(short index, const System::AnsiString Value);
System::AnsiString __stdcall Get_KeySer(short index);
void __stdcall Set_KeySer(short index, const System::AnsiString Value);
System::AnsiString __stdcall Get_StatusText(short index);
void __stdcall Set_StatusText(short index, const System::AnsiString Value);
Graphics::TColor __stdcall Get_RGBFont(short index);
void __stdcall Set_RGBFont(short index, Graphics::TColor Value);
short __stdcall Get_HFont(short index);
void __stdcall Set_HFont(short index, short Value);
short __stdcall Get_ItemWidth(short index);
void __stdcall Set_ItemWidth(short index, short Value);
short __stdcall Get_ItemStyle(short index);
void __stdcall Set_ItemStyle(short index, short Value);
Graphics::TColor __stdcall Get_ItemColor(short index);
void __stdcall Set_ItemColor(short index, Graphics::TColor Value);
short __stdcall Get_DecimalsNum(short index);
void __stdcall Set_DecimalsNum(short index, short Value);
protected:
virtual void __fastcall InitControlData(void);
public:
int __stdcall OpenDataEx(short nType, int n1, int n2);
Word __stdcall CloseData(short nType);
int __stdcall DblClk(short nType, int lExtra);
int __stdcall RigClk(short nType, int lExtra);
int __stdcall Status(short nItems, int lpStatus);
int __stdcall ShowDialog(short nDialog, int lExtra);
int __stdcall PrintIt(void);
int __stdcall Scroll(int wParam, int lParam);
int __stdcall SetStatusItem(short index, Word bText, short nID, Word bFrame, short nWidth, short nMin
, short nDesp, int dwStyle);
int __stdcall Paint(int hDC, short nLeft, short nTop, short nRight, short nBottom, short wAction, int
lps);
int __stdcall SetStripe(short index, double dMin, double dMax, Graphics::TColor rgb);
int __stdcall Language(const System::AnsiString sResource);
int __stdcall ExportFile(const System::AnsiString lpszNewValue);
int __stdcall ImportFile(const System::AnsiString lpszNewValue);
int __stdcall WriteTemplate(const System::AnsiString lpszNewValue);
int __stdcall ReadTemplate(const System::AnsiString lpszNewValue);
int __stdcall CopyData(void);
int __stdcall CopyBitmap(void);
HIDESBASE void __stdcall Refresh(void);
void __stdcall AboutBox(void);
__property double Value[short index] = {read=Get_Value, write=Set_Value};
__property double XValue[short index] = {read=Get_XValue, write=Set_XValue};
__property double IniValue[short index] = {read=Get_IniValue, write=Set_IniValue};
__property double Const_[short index] = {read=Get_Const_, write=Set_Const_};
__property Graphics::TColor Color[short index] = {read=Get_Color, write=Set_Color};
__property Graphics::TColor BkColor[short index] = {read=Get_BkColor, write=Set_BkColor};
__property double Adm[short index] = {read=Get_Adm, write=Set_Adm};
__property short Pattern[short index] = {read=Get_Pattern, write=Set_Pattern};
__property int Fonts[short index] = {read=Get_Fonts, write=Set_Fonts};
__property System::AnsiString Title[short index] = {read=Get_Title, write=Set_Title};
__property System::AnsiString Legend[short index] = {read=Get_Legend, write=Set_Legend};
__property System::AnsiString SerLeg[short index] = {read=Get_SerLeg, write=Set_SerLeg};
__property System::AnsiString KeyLeg[short index] = {read=Get_KeyLeg, write=Set_KeyLeg};
__pr